﻿using System;

namespace Model
{
    public class WorkOrderTask : BaseModel
    {

        public const string CONST_WORKORDER_TASK_ID = "WorkOrderTaskId";
        public const string CONST_WORKORDER_ID = "WorkOrderId";
        
        public virtual int WorkOrderTaskId { get; set; }
        public virtual string EquipmentCodeNumber { get; set; }
        public virtual int ProblemId { get; set; }
        public virtual int WorkOrderId { get; set; }
        public virtual string ProposedProblem { get; set; }
        public virtual DateTime RequiredDate { get; set; }
        
        public virtual bool IsCancel { get; set; }
        public virtual int TaskStatusId { get; set; }
        public virtual int DefectType { get; set; }

        public virtual Problem Problem { get; set; }
   
        
        public override int Key
        {
            get { return WorkOrderTaskId; }
        }
        
    }
}
